package com.et.ball.module
{
	import flash.display.Sprite;
	
	public class Circle extends Sprite
	{
		private var _r:Number;
		private var _color:uint;
		private var _alpha:Number;
		public function Circle(r:Number=50 ,color:uint=0xffff00,alpha:Number=0.1)
		{
			super.mouseChildren=false;
			super.mouseEnabled=false;
			this._r=r;
			 
			this._color=color;
			this._alpha=alpha;
			draw();
		}
		
		private function draw():void
		{
			graphics.clear();
			graphics.lineStyle(1,0x8F8F8F);
			graphics.beginFill(_color,_alpha);
			graphics.drawCircle(0,0,_r);
			graphics.endFill();
		}
	}
}